package com.old.people.service;

import java.util.List;

import com.old.people.entities.Appraisal;
import com.old.people.entities.Disease;
import com.old.people.entities.Funds;
import com.old.people.entities.OrderOldPeople;
import com.old.people.entities.Service;
import com.old.people.entities.Servicer;

public interface ServicerService {
	List<Service> getService(String account_id);//获取服务信息
	boolean updateService(String service_id,String service_name,String service_content,String service_price,String service_type);//修改服务信息
	boolean insertService(String account_id,String service_id,String service_name,String service_content,String service_price,String service_type);//添加服务信息
	
	Servicer getServicer(String account_id);//获取服务人员信息
	boolean updateServicers(String servicer_id,String servicer_name,String servicer_sex,String servicer_tel,String servicer_idcard);//修改服务人员信息
	
	List<OrderOldPeople> getOrderOldPeople(String account_id,Integer begin);//获取订单和老人信息
	Integer getOrderOldPeopleSum(String account_id);//获取订单和老人信息总数
	List<Disease> getDisease(String oldpeople_id);//获取疾病信息
	boolean updateDisease(String disease_id,String disease_parameter);//更新疾病信息
	boolean insertDisease(String disease_id,String disease_name,String disease_parameter,String oldpeople_id);//插入新的疾病信息
	
	Integer getAppraisalSum(String account_id);//获取所有评价数量
	List<Appraisal> getAppraisal(String account_id,Integer begin);//获取评价
	
	Integer getFundsSum(String account_id);//获取所有资金信息数量
	List<Funds> getFunds(String account_id,Integer begin);//获取资金记录信息
}
